package com.dmap.admin.po;

import java.io.Serializable;

public class Company implements Serializable {
    /**
     * 主键id
     * 表字段 : company.id
     */
    private Long id;

    /**
     * 公司编号
     * 表字段 : company.number
     */
    private String number;

    /**
     * 
     * 表字段 : company.name
     */
    private String name;

    /**
     * 公司联系电话
     * 表字段 : company.company_phone
     */
    private String companyPhone;

    /**
     * 创建这个子公司的超级管理员所在的公司id
     * 表字段 : company.owned_by_company_id
     */
    private Long ownedByCompanyId;

    /**
     * 
     * 表字段 : company.administrator_id
     */
    private Long administratorId;

    /**
     * 该公司超级管理员账号
     * 表字段 : company.administrator_account
     */
    private String administratorAccount;

    /**
     * 超级管理员手机号
     * 表字段 : company.administrator_handphone
     */
    private String administratorHandphone;

    /**
     * 省
     * 表字段 : company.province
     */
    private String province;

    /**
     * 市
     * 表字段 : company.city
     */
    private String city;

    /**
     * 县/区
     * 表字段 : company.county
     */
    private String county;

    /**
     * 公司LOGO
     * 表字段 : company.logo_url
     */
    private String logoUrl;

    /**
     * 客服热线
     * 表字段 : company.service_phone
     */
    private String servicePhone;

    /**
     * 客服邮箱
     * 表字段 : company.service_email
     */
    private String serviceEmail;

    /**
     * 项目简介
     * 表字段 : company.description
     */
    private String description;

    /**
     *  状态：1正常，2禁用
     * 表字段 : company.status
     */
    private Integer status;

    /**
     * 公司类型：1.总公司， 2分公司
     * 表字段 : company.company_type
     */
    private Integer companyType;

    /**
     * 该条记录是由谁创建的
     * 表字段 : company.creator_id
     */
    private Long creatorId;

    /**
     * 最后编辑者id
     * 表字段 : company.editor_id
     */
    private Long editorId;

    /**
     * 创建者账号
     * 表字段 : company.creator_account
     */
    private String creatorAccount;

    /**
     * 最后更新者账号
     * 表字段 : company.editor_account
     */
    private String editorAccount;

    /**
     * 创建时间
     * 表字段 : company.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : company.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table company
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbggenerated
     */
    public Company(Long id, String number, String name, String companyPhone, Long ownedByCompanyId, Long administratorId, String administratorAccount, String administratorHandphone, String province, String city, String county, String logoUrl, String servicePhone, String serviceEmail, String description, Integer status, Integer companyType, Long creatorId, Long editorId, String creatorAccount, String editorAccount, Long createTime, Long updateTime) {
        this.id = id;
        this.number = number;
        this.name = name;
        this.companyPhone = companyPhone;
        this.ownedByCompanyId = ownedByCompanyId;
        this.administratorId = administratorId;
        this.administratorAccount = administratorAccount;
        this.administratorHandphone = administratorHandphone;
        this.province = province;
        this.city = city;
        this.county = county;
        this.logoUrl = logoUrl;
        this.servicePhone = servicePhone;
        this.serviceEmail = serviceEmail;
        this.description = description;
        this.status = status;
        this.companyType = companyType;
        this.creatorId = creatorId;
        this.editorId = editorId;
        this.creatorAccount = creatorAccount;
        this.editorAccount = editorAccount;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbggenerated
     */
    public Company() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.id
     *
     * @return the value of company.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.id
     *
     * @param id the value for company.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.number
     *
     * @return the value of company.number
     *
     * @mbggenerated
     */
    public String getNumber() {
        return number;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.number
     *
     * @param number the value for company.number
     *
     * @mbggenerated
     */
    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.name
     *
     * @return the value of company.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.name
     *
     * @param name the value for company.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.company_phone
     *
     * @return the value of company.company_phone
     *
     * @mbggenerated
     */
    public String getCompanyPhone() {
        return companyPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.company_phone
     *
     * @param companyPhone the value for company.company_phone
     *
     * @mbggenerated
     */
    public void setCompanyPhone(String companyPhone) {
        this.companyPhone = companyPhone == null ? null : companyPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.owned_by_company_id
     *
     * @return the value of company.owned_by_company_id
     *
     * @mbggenerated
     */
    public Long getOwnedByCompanyId() {
        return ownedByCompanyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.owned_by_company_id
     *
     * @param ownedByCompanyId the value for company.owned_by_company_id
     *
     * @mbggenerated
     */
    public void setOwnedByCompanyId(Long ownedByCompanyId) {
        this.ownedByCompanyId = ownedByCompanyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.administrator_id
     *
     * @return the value of company.administrator_id
     *
     * @mbggenerated
     */
    public Long getAdministratorId() {
        return administratorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.administrator_id
     *
     * @param administratorId the value for company.administrator_id
     *
     * @mbggenerated
     */
    public void setAdministratorId(Long administratorId) {
        this.administratorId = administratorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.administrator_account
     *
     * @return the value of company.administrator_account
     *
     * @mbggenerated
     */
    public String getAdministratorAccount() {
        return administratorAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.administrator_account
     *
     * @param administratorAccount the value for company.administrator_account
     *
     * @mbggenerated
     */
    public void setAdministratorAccount(String administratorAccount) {
        this.administratorAccount = administratorAccount == null ? null : administratorAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.administrator_handphone
     *
     * @return the value of company.administrator_handphone
     *
     * @mbggenerated
     */
    public String getAdministratorHandphone() {
        return administratorHandphone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.administrator_handphone
     *
     * @param administratorHandphone the value for company.administrator_handphone
     *
     * @mbggenerated
     */
    public void setAdministratorHandphone(String administratorHandphone) {
        this.administratorHandphone = administratorHandphone == null ? null : administratorHandphone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.province
     *
     * @return the value of company.province
     *
     * @mbggenerated
     */
    public String getProvince() {
        return province;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.province
     *
     * @param province the value for company.province
     *
     * @mbggenerated
     */
    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.city
     *
     * @return the value of company.city
     *
     * @mbggenerated
     */
    public String getCity() {
        return city;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.city
     *
     * @param city the value for company.city
     *
     * @mbggenerated
     */
    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.county
     *
     * @return the value of company.county
     *
     * @mbggenerated
     */
    public String getCounty() {
        return county;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.county
     *
     * @param county the value for company.county
     *
     * @mbggenerated
     */
    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.logo_url
     *
     * @return the value of company.logo_url
     *
     * @mbggenerated
     */
    public String getLogoUrl() {
        return logoUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.logo_url
     *
     * @param logoUrl the value for company.logo_url
     *
     * @mbggenerated
     */
    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl == null ? null : logoUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.service_phone
     *
     * @return the value of company.service_phone
     *
     * @mbggenerated
     */
    public String getServicePhone() {
        return servicePhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.service_phone
     *
     * @param servicePhone the value for company.service_phone
     *
     * @mbggenerated
     */
    public void setServicePhone(String servicePhone) {
        this.servicePhone = servicePhone == null ? null : servicePhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.service_email
     *
     * @return the value of company.service_email
     *
     * @mbggenerated
     */
    public String getServiceEmail() {
        return serviceEmail;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.service_email
     *
     * @param serviceEmail the value for company.service_email
     *
     * @mbggenerated
     */
    public void setServiceEmail(String serviceEmail) {
        this.serviceEmail = serviceEmail == null ? null : serviceEmail.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.description
     *
     * @return the value of company.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.description
     *
     * @param description the value for company.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.status
     *
     * @return the value of company.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.status
     *
     * @param status the value for company.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.company_type
     *
     * @return the value of company.company_type
     *
     * @mbggenerated
     */
    public Integer getCompanyType() {
        return companyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.company_type
     *
     * @param companyType the value for company.company_type
     *
     * @mbggenerated
     */
    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.creator_id
     *
     * @return the value of company.creator_id
     *
     * @mbggenerated
     */
    public Long getCreatorId() {
        return creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.creator_id
     *
     * @param creatorId the value for company.creator_id
     *
     * @mbggenerated
     */
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.editor_id
     *
     * @return the value of company.editor_id
     *
     * @mbggenerated
     */
    public Long getEditorId() {
        return editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.editor_id
     *
     * @param editorId the value for company.editor_id
     *
     * @mbggenerated
     */
    public void setEditorId(Long editorId) {
        this.editorId = editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.creator_account
     *
     * @return the value of company.creator_account
     *
     * @mbggenerated
     */
    public String getCreatorAccount() {
        return creatorAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.creator_account
     *
     * @param creatorAccount the value for company.creator_account
     *
     * @mbggenerated
     */
    public void setCreatorAccount(String creatorAccount) {
        this.creatorAccount = creatorAccount == null ? null : creatorAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.editor_account
     *
     * @return the value of company.editor_account
     *
     * @mbggenerated
     */
    public String getEditorAccount() {
        return editorAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.editor_account
     *
     * @param editorAccount the value for company.editor_account
     *
     * @mbggenerated
     */
    public void setEditorAccount(String editorAccount) {
        this.editorAccount = editorAccount == null ? null : editorAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.create_time
     *
     * @return the value of company.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.create_time
     *
     * @param createTime the value for company.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column company.update_time
     *
     * @return the value of company.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column company.update_time
     *
     * @param updateTime the value for company.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", number=").append(number);
        sb.append(", name=").append(name);
        sb.append(", companyPhone=").append(companyPhone);
        sb.append(", ownedByCompanyId=").append(ownedByCompanyId);
        sb.append(", administratorId=").append(administratorId);
        sb.append(", administratorAccount=").append(administratorAccount);
        sb.append(", administratorHandphone=").append(administratorHandphone);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", county=").append(county);
        sb.append(", logoUrl=").append(logoUrl);
        sb.append(", servicePhone=").append(servicePhone);
        sb.append(", serviceEmail=").append(serviceEmail);
        sb.append(", description=").append(description);
        sb.append(", status=").append(status);
        sb.append(", companyType=").append(companyType);
        sb.append(", creatorId=").append(creatorId);
        sb.append(", editorId=").append(editorId);
        sb.append(", creatorAccount=").append(creatorAccount);
        sb.append(", editorAccount=").append(editorAccount);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}